x11: Use EGL for GL support
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 10 May 2021 17:11:05 +0000 (18:11 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Mon, 10 May 2021 19:44:35 +0000 (20:44 +0100)
commit8924d614c0ab5f8e2f205b0f43eeafceea1df2ab
tree4b573df6cd6c102b3125337fad037fc1e6c5a810
parent03f76eccf5c5bc8132b4c7bddb9a087fcbbfd626
x11: Use EGL for GL support

This makes the X11 backend similar to the Wayland one, when it comes to
OpenGL.

Fall back to GLX only if EGL support is not available.
gdk/x11/gdkdisplay-x11.h
gdk/x11/gdkglcontext-egl.c [new file with mode: 0644]
gdk/x11/gdkglcontext-glx.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkglcontext-x11.h
gdk/x11/gdkscreen-x11.h
gdk/x11/gdkvisual-x11.c
gdk/x11/gdkx11glcontext.h
gdk/x11/meson.build